<?php $this->load->view('admin/login_header'); ?>
	<div id="logincontainer">
    	<div id="loginbox">
        	<div id="loginheader">
            	<h1><?php echo $bloginfo['blogname'].' '.$current_title; ?></h1>
            </div>
			<?php if( $message !== FALSE ) : ?>
			<div class="status error">
				<p><img src="<?php echo base_url(); ?>application/views/admin/images/icons/icon_error.png" alt="Error" /><?php echo $message; ?></p>
			</div>
			<?php endif; ?>
            <div id="innerlogin">
            	<form action="<?php echo base_url().'admin/login/login_submit'; ?>" method="post" id="loginform">
                	<p><?php echo $this->lang->line('default_login_username'); ?></p>
                	<input id="login_name" name="login_name" type="text" class="logininput" />
                    <p><?php echo $this->lang->line('default_login_password'); ?></p>
                	<input id="login_password" name="login_password" type="password" class="logininput" />
					<p><input id="login_remeber" name="login_remeber" type="checkbox" /><?php echo $this->lang->line('default_login_remeber'); ?></p>
                   	<input type="submit" class="loginbtn" value="<?php echo $this->lang->line('default_login'); ?>" /><br />
                    <p><a href="#" title="Forgoteen Password?"><?php echo $this->lang->line('default_login_forget_pass'); ?></a></p>
                </form>
            </div>
        </div>
        <img src="<?php echo base_url(); ?>application/views/admin/images/login_fade.png" alt="Fade" />
    </div>
<?php $this->load->view('admin/login_footer'); ?>